Make _gdk_windowing_args const.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 3 Apr 2006 20:36:52 +0000 (20:36 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 3 Apr 2006 20:36:52 +0000 (20:36 +0000)
2006-04-03  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkinternals.h:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c:
* gdk/directfb/gdkdisplay-directfb.c:
* gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.

ChangeLog
ChangeLog.pre-2-10
gdk/directfb/gdkdisplay-directfb.c
gdk/gdkinternals.h
gdk/quartz/gdkmain-quartz.c
gdk/win32/gdkmain-win32.c
gdk/x11/gdkmain-x11.c

index 3d34f9dce749ed2c1b8b540a3728339fee35c1a7..75d0c28cf2235a047c50ef4e0dc8e8fa5bf995a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
 
-       * gdk/win32/gdkpixmap-win32.c: Include gdksreen.h  (#337032,
+       * gdk/gdkinternals.h: 
+       * gdk/x11/gdkmain-x11.c: 
+       * gdk/win32/gdkmain-win32.c: 
+       * gdk/directfb/gdkdisplay-directfb.c: 
+       * gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
+
+       * gdk/win32/gdkpixmap-win32.c: Include gdkscreen.h  (#337032,
         Kazuki IWAMOTO)
 
        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention
index 3d34f9dce749ed2c1b8b540a3728339fee35c1a7..75d0c28cf2235a047c50ef4e0dc8e8fa5bf995a8 100644 (file)
@@ -1,6 +1,12 @@
 2006-04-03  Matthias Clasen  <mclasen@redhat.com>
 
-       * gdk/win32/gdkpixmap-win32.c: Include gdksreen.h  (#337032,
+       * gdk/gdkinternals.h: 
+       * gdk/x11/gdkmain-x11.c: 
+       * gdk/win32/gdkmain-win32.c: 
+       * gdk/directfb/gdkdisplay-directfb.c: 
+       * gdk/quartz/gdkmain-quartz.c: Make _gdk_windowing_args const.
+
+       * gdk/win32/gdkpixmap-win32.c: Include gdkscreen.h  (#337032,
         Kazuki IWAMOTO)
 
        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Mention
index 16cf8860b310d46ccaa2350eb6007ec95a7daabb..209bf1dc2e3a330ba978e78f9888205319346fd4 100644 (file)
@@ -50,7 +50,7 @@ static gint       gdk_directfb_glyph_surface_cache = 8;
 static gchar    *directfb_args;
 
 
-GOptionEntry _gdk_windowing_args[] =
+const GOptionEntry _gdk_windowing_args[] =
 {
   { "dfb",0,0,G_OPTION_ARG_STRING,&directfb_args,N_("directfb arg"),N_("sdl|system")}, 
   { "dfb-help",0,0,G_OPTION_ARG_NONE, NULL,NULL},
index b38fca670900218017788c6679b09f391c681f47..d3c1fbad572c6461e841fd7b055ae195f2af9f75 100644 (file)
@@ -261,7 +261,7 @@ void _gdk_cursor_destroy (GdkCursor *cursor);
 
 void     _gdk_windowing_init                    (void);
 
-extern GOptionEntry _gdk_windowing_args[];
+extern const GOptionEntry _gdk_windowing_args[];
 void     _gdk_windowing_set_default_display     (GdkDisplay *display);
 
 gchar *_gdk_windowing_substitute_screen_number (const gchar *display_name,
index 328b92934e463cfbb4066a1c9a2bb36b4423a2e8..a4f29c63bcfa7ec4384c16b1099f0e9c4c1ba009 100644 (file)
@@ -23,7 +23,7 @@
 #include "gdk.h"
 #include <ApplicationServices/ApplicationServices.h>
 
-GOptionEntry _gdk_windowing_args[] = {
+const GOptionEntry _gdk_windowing_args[] = {
   { NULL }
 };
 
index 0c4be65f21e9b4f0689200b3ce91e7bbe8290a15..37ca44b563436737590f3700dc20aa94eff2c6aa 100644 (file)
@@ -55,7 +55,7 @@ static gboolean gdk_synchronize = FALSE;
 
 static gboolean dummy;
 
-GOptionEntry _gdk_windowing_args[] = {
+const GOptionEntry _gdk_windowing_args[] = {
   { "sync", 0, 0, G_OPTION_ARG_NONE, &gdk_synchronize, 
     /* Description of --sync in --help output */              N_("Don't batch GDI requests"), NULL },
   { "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab, 
index 7738abde735d58a4dcf152bf802d5bc7d23a32a3..72f7339749d399d6ae0d9e818e54cd5ee820e266 100644 (file)
@@ -87,7 +87,7 @@ static int        gdk_x_io_error               (Display     *display);
 static GSList *gdk_error_traps = NULL;               /* List of error traps */
 static GSList *gdk_error_trap_free_list = NULL;      /* Free list */
 
-GOptionEntry _gdk_windowing_args[] = {
+const GOptionEntry _gdk_windowing_args[] = {
   { "sync", 0, 0, G_OPTION_ARG_NONE, &_gdk_synchronize, 
     /* Description of --sync in --help output */ N_("Make X calls synchronous"), NULL },
   { NULL }